package com.tiantian.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.tiantian.bean.PageBean;
import com.tiantian.datajpa.service.GenericService;
import com.tiantian.domain.Platformannouncement;

@Service
@Transactional
public interface AnnouncementService extends GenericService<Platformannouncement, String> {

	/**
	 * 获取公告信息
	 * 
	 * @param params
	 * @param pageBean
	 * @return
	 */
	public List<Platformannouncement> list(Map<String, String> params, PageBean pageBean);

	public Map<String, Object> getAnnoucementById(String id);

	public String getAnnoucementId(String sendTime);
}
